package com.example.demo.util;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.core.ValueOperations;
import org.springframework.stereotype.Component;

@Component
public class JedisHelper {
    @Autowired
    private ValueOperations<String, String> strOperations;

    @Autowired

    private ValueOperations<String, Integer> intOperations;



    @Autowired

    private ValueOperations<String, Object> objOperations;



    @Autowired

    private RedisTemplate<String, Integer> redisTemplate;
}
